home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Erotic Games: Memory
/
Erotic Games: Memory.iso
/
mac
/
air_installers
/
AdobeAIR.exe
/
setup.swf
/
scripts
/
mx
/
managers
/
CursorManager.as
next >
Wrap
Text File
|
2009-02-12
|
3KB
|
115 lines
package mx.managers
{
import mx.core.Singleton;
import mx.core.mx_internal;
use namespace mx_internal;
public class CursorManager
{
private static var _impl:ICursorManager;
mx_internal static const VERSION:String = "3.0.0.0";
public static const NO_CURSOR:int = 0;
private static var implClassDependency:CursorManagerImpl;
public function CursorManager()
{
super();
}
public static function set currentCursorYOffset(param1:Number) : void
{
impl.currentCursorYOffset = param1;
}
mx_internal static function registerToUseBusyCursor(param1:Object) : void
{
impl.registerToUseBusyCursor(param1);
}
public static function get currentCursorID() : int
{
return impl.currentCursorID;
}
public static function getInstance() : ICursorManager
{
return impl;
}
public static function removeBusyCursor() : void
{
impl.removeBusyCursor();
}
public static function setCursor(param1:Class, param2:int = 2, param3:Number = 0, param4:Number = 0) : int
{
return impl.setCursor(param1,param2,param3,param4);
}
public static function set currentCursorID(param1:int) : void
{
impl.currentCursorID = param1;
}
mx_internal static function unRegisterToUseBusyCursor(param1:Object) : void
{
impl.unRegisterToUseBusyCursor(param1);
}
private static function get impl() : ICursorManager
{
if(!_impl)
{
_impl = ICursorManager(Singleton.getInstance("mx.managers::ICursorManager"));
}
return _impl;
}
public static function removeAllCursors() : void
{
impl.removeAllCursors();
}
public static function setBusyCursor() : void
{
impl.setBusyCursor();
}
public static function showCursor() : void
{
impl.showCursor();
}
public static function hideCursor() : void
{
impl.hideCursor();
}
public static function removeCursor(param1:int) : void
{
impl.removeCursor(param1);
}
public static function get currentCursorXOffset() : Number
{
return impl.currentCursorXOffset;
}
public static function get currentCursorYOffset() : Number
{
return impl.currentCursorYOffset;
}
public static function set currentCursorXOffset(param1:Number) : void
{
impl.currentCursorXOffset = param1;
}
}
}